package com.example.consumer.client;

import org.springframework.stereotype.Component;

import com.example.consumer.config.Result;

/**
 * \* @author: bear
 * \* Date: 2022-04-07-17:11
 * \* describe:
 */
@Component
public class UserServiceFallback implements UserClient{
	@Override
	public Result getuserInfo(String username) {
		return Result.failed("4000","系统出现异常");
	}
}
